'use strict';

const Controller = require('egg').Controller;

class HomeController extends Controller {
    async index() {
        const { ctx } = this;
        const res = await ctx.service.minprogram.maintainMsg()
        await ctx.render('index.html', {
            res,
            lists: ['a','b']
        })

    }
}

module.exports = HomeController;
